From da55514edd1dacc6e7efdfcba7bfa1b8003a2d0d Mon Sep 17 00:00:00 2001 From: "kaf24@scramble.cl.cam.ac.uk" Date: Fri, 4 Jun 2004 15:22:06 +0000 Subject: [PATCH] bitkeeper revision 1.937 (40c0939elXhbQIKlWAMqL7ohYLPX6Q) Undo temporary xend hack. --- tools/xend/lib/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/xend/lib/main.py b/tools/xend/lib/main.py index 963146c60a..ce7c9ec44b 100755 --- a/tools/xend/lib/main.py +++ b/tools/xend/lib/main.py @@ -201,7 +201,7 @@ def daemon_loop(): xend.blkif.backend_rx_req(port, msg) elif type == CMSG_NETIF_FE and net_if: net_if.ctrlif_rx_req(port, msg) - elif type == CMSG_NETIF_BE: + elif type == CMSG_NETIF_BE and port == xend.netif.be_port: xend.netif.backend_rx_req(port, msg) else: port.write_response(msg) @@ -213,7 +213,7 @@ def daemon_loop(): type = (msg.get_header())['type'] if type == CMSG_BLKIF_BE and port == dom0_port: xend.blkif.backend_rx_rsp(port, msg) - elif type == CMSG_NETIF_BE: + elif type == CMSG_NETIF_BE and port == xend.netif.be_port: xend.netif.backend_rx_rsp(port, msg) # Send console data. -- 2.30.2